﻿@model Orion.Models.NewsArticle

@{
    ViewBag.Title = "IRIS - Innranet - Breyta Hjálp";
    Layout = "~/Views/Shared/_WorkLayout.cshtml";
}


<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/tiny_mce/tiny_mce.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/TinyMCE.js")" type="text/javascript"></script>


<section id="main_content_wrapper">
    @using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Hjálp</legend>
        <ol>
            <li>
                @Html.LabelFor(model => model.Title, "Titill")
                @Html.EditorFor(model => model.Title)
                @Html.ValidationMessageFor(model => model.Title)
            </li>
            <li>
                @Html.LabelFor(model => model.TextBody, "Meginmál")
                @Html.TextAreaFor(model => model.TextBody)
                @Html.ValidationMessageFor(model => model.TextBody)
            </li>
        </ol>

        <p>
            <input type="submit" value="Birta" />
        </p>
        <div>
     @Html.ActionLink("Back", "Index", "Work")
</div>
    </fieldset>
}



</section>
